Oracle has announced Java 8, which company officials describe as the largest upgrade to the programming model since Java was introduced in 1996.